<?php
import("core.com.indicator.Indicator");
import("core.com.indicator.AbstractIndicatorSupport");

/**
 * Ma移动平均线
 * @author w.
 *
 */
class Macd extends AbstractIndicatorSupport implements Indicator {

	const LOG_KEY = 'macd';
	
	private $fastLength;
	private $lowLength;
	private $macdLength;
	
	public function __construct($fastLength,$lowLength,$macdLength){
		$this->fastLength = $fastLength;
		$this->lowLength = $lowLength;
		$this->macdLength = $macdLength;
	}
		
	public function calc($bars){
	    return $bars;
	}
	
	public function save($bars){
		$cnt = count($bars);

		return $bars;
	}

}

?>
